package MicroGZM.mesh;

public class Triangle extends Mesh {
	
	float[] vertices;
	float[] indices;
	
	public Triangle() {
		
		vertices = new float[]{-0.5f, -0.5f, 0, 0.5f, -0.5f, 0, 0.5f, 0.5f, 0};
		indices = new float[]{1,2,3};
	}
	
	@Override
	public float[] getVertexArray() {

		return vertices;
	}

}
